package cn.autoOffice.service.impl;

import cn.autoOffice.bean.pojo.Employee;
import cn.autoOffice.mapper.RegisterMapper;
import cn.autoOffice.service.RegisterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RegisterServiceImpl implements RegisterService {
    @Autowired
    public RegisterMapper registerMapper;

    @Override
    public int register(Employee employee) {
        return registerMapper.register(employee);
    }
}
